import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/HelloWorld'
import Detail from '@/components/detail'
import Aboutus from '@/components/aboutus'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: Index
    },
    {
      path: '/detail',
      name: 'detail',
      component: Detail
    },
    {
      path: '/aboutus',
      name: 'aboutus',
      component: Aboutus
    }
  ]
})
